package cn.yto.wdgj.wdgjgptdigitaltool.entity.dto.response;

import cn.yto.response.BaseResponse;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
public class GptCaseMaintenanceResponse implements BaseResponse {
    @ApiModelProperty(value = "主键ID")
    private Long id;
    @ApiModelProperty(value = "意图名称")
    private String intentName;
    @ApiModelProperty(value = "TAG")
    private String tag;
    @ApiModelProperty(value = "测试用例")
    private String matcherContent;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") // 调整为传入的日期字符串格式
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") // 调整为传入的日期字符串格式
    private Date createTime;
    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") // 调整为传入的日期字符串格式
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") // 调整为传入的日期字符串格式
    private Date updateTime;
}
